<template>
  <div>
    <h1><slot></slot></h1>

    <module-getters1>直接访问</module-getters1>
    <module-getters2>getters → 组件的 computed</module-getters2>
  </div>
</template>

<script>
import ModuleGetters1 from './ModuleGetters1.vue'
import ModuleGetters2 from './ModuleGetters2.vue'

export default {
  name: 'ModuleGetters',
  components: {
    ModuleGetters1,
    ModuleGetters2
  }
}
</script>
